import { useState } from "react"

export default (initNum = 0) => {
    const [num,setNum] = useState(initNum)
    return [num + 100,setNum]
}